package com.tjp.eight.ui.fragment.homepage;

import com.tjp.eight.ResultModel;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Administrator on 2017/3/22.
 */
public interface HomePageService {
    @Headers({"Content-Type:application/json", "Accept-Type:application/json"})
    @POST("my/listmsg")
    Observable<HomeRModel> loadData(@Body RequestBody requestBody);

    @Headers({"Content-Type:application/json", "Accept-Type:application/json"})
    @POST("user/uncollect")
    Observable<ResultModel> removecollect(@Body RequestBody body);
}
